exports.handleResponse =async function (ctx,next) {
    ctx.success = (data)=>{
        return ctx.body = {
            code: 200,
            data
        }
    }
    ctx.faild = (data)=>{
        return ctx.body = {
            code: 400,
            data
        }
    }
    await next()
}